package com.xk.order.dto;

import com.hy.common.dto.CartDTo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDTo {
    @NonNull
    private Long addressId;//收货人地址id
    @NonNull
    private Integer paymentType;//付款类型
    @NonNull
    private List<CartDTo> carts;//订单详情

}
